package cn.itcast.zt.java8.model.proxy.cglib;

import java.util.ArrayList;
import java.util.List;

/**
 * create by zhangtian105 on 2021/9/15
 */
public class PersonDaoImpl {
    public void savePerson() {
        System.out.println("save person");
    }

    public void updatePerson() {
        System.out.println("update person");
    }

    public void deletePerson() {
        System.out.println("delete person");
    }

    public List<Person> getPerson() {
        List<Person> personList = new ArrayList<>() ;
        Person p = new Person() ;
        p.setId(1L);
        p.setName("水梦星光");

        personList.add(p) ;
        return personList;
    }
}
